package com.cis467.mrball.parts;

public class Ball {

	public static final double RADIUS = 0.3; // Max --> 0.5
	
	public double xPosition;
	public double yPosition;
	
	public double xVelocity;
	public double yVelocity;
	
	public Portal noPortal;
	public Portal blockedPortal;
	
	public Ball(double x, double y, double dx, double dy) {
		
		xPosition = x;
		yPosition = y;
		
		xVelocity = dx;
		yVelocity = dy;
		
		noPortal = new Portal(-1,-1);
		blockedPortal = noPortal;
	}
	
	public void moveTo(double x, double y) {
		
		xPosition = x;
		yPosition = y;
	}
	
	public void stop() {
		xVelocity = 0;
		yVelocity = 0;
	}
}
